﻿<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="keywords"
          content="candidates, career, employment, freelance, glassdoor, Human Resource Management, indeed, job board, job listing, job portal, job postings, jobs, listings, recruitment, resume">
    <meta name="CreativeLayers" content="ATFN">
    <!-- css file -->
    <link rel="stylesheet" href="/css/bootstrap.min.css">
    <link rel="stylesheet" href="/css/menu.css">
    <link rel="stylesheet" href="/css/style.css">
    <link rel="stylesheet" type="text/css" href="/css/verify.css">
    <!-- Responsive stylesheet -->
    <link rel="stylesheet" href="/css/responsive.css">
    <!-- Title -->
    <title>未来是你的 - The Future Is Yours 一个能让你找到满意的工作的网站</title>
    <!-- Favicon -->
    <link href="/images/favicon.ico" sizes="128x128" rel="shortcut icon" type="image/x-icon"/>
    <link href="/images/favicon.ico" sizes="128x128" rel="shortcut icon"/>

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <script type="text/javascript" src="/js/jquery-3.2.1.js"/>
    <![endif]-->
    <script th:inline="javascript">
        var email = [[${session.company.email}]];
        var company_id = [[${session.company.company_id}]];
    </script>
</head>
<body style="background-color: #fafafa;">

<div class="wrapper" style="padding-left: 313px;">
    <div class="preloader"></div>
    <!-- Our Dashbord -->
    <section>
        <div class="container">
            <div class="row">
                <div class="col-sm-12 col-lg-8 col-xl-9">
                    <div class="my_profile_form_area employer_profile">
                        <div class="row">
                            <div class="col-lg-12">
                                <h4 class="fz20 mb20" th:text="${username}+'的简历'"></h4>
                            </div>
                            <form class="row" method="post" enctype="multipart/form-data" id="resume_form">
                                <div class="col-lg-12">
                                    <h4 class="fz18 mb20">基本信息</h4>
                                </div>
                                <div class="col-md-6 col-lg-6">
                                    <div class="my_profile_input form-group">
                                        <label>姓名</label>
                                        <input disabled="disabled" type="text" class="form-control" id="name" name="name" th:value="${resume}!=null?${resume.name}:''">
                                    </div>
                                </div>
                                <div class="col-md-6 col-lg-6">
                                    <div class="my_profile_select_box form-group">
                                        <label>性别</label><br>
                                        <select disabled="disabled" class="selectpicker" id="sex" name="sex">
                                            <option value="男" th:selected="${resume!=null&&resume.sex=='男'}" selected="selected">男</option>
                                            <option value="女" th:selected="${resume!=null&&resume.sex=='女'}">女</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="col-md-6 col-lg-6">
                                    <div class="my_profile_input form-group">
                                        <label>年龄</label>
                                        <input disabled="disabled" type="text" class="form-control" id="age" name="age" th:value="${resume}!=null?${resume.age}:''">
                                    </div>
                                </div>
                                <div class="col-md-6 col-lg-6">
                                    <div class="my_profile_input form-group">
                                        <label>籍贯</label>
                                        <input disabled="disabled" type="text" class="form-control" id="native_place" name="native_place" th:value="${resume}!=null?${resume.native_place}:''"
                                               >
                                    </div>
                                </div>
                                <div class="col-md-6 col-lg-6">
                                    <div class="my_profile_input form-group">
                                        <label>生日</label>
                                        <input disabled="disabled" type="text" class="form-control datepicker" id="birthday"  th:value="${resume}!=null?${#dates.format(resume.birthday, 'yyyy-MM-dd')}:''"
                                               name="birthday">
                                    </div>
                                </div>
                                <div class="col-md-6 col-lg-3">
                                    <div class="my_profile_select_box form-group">
                                        <label>学历</label><br>
                                        <select disabled="disabled"  class="selectpicker" id="education" name="education">
                                            <option value="专科" th:selected="${resume!=null&&resume.education=='专科'}" selected="selected">专科</option>
                                            <option value="本科" th:selected="${resume!=null&&resume.education=='本科'}">本科</option>
                                            <option value="硕士" th:selected="${resume!=null&&resume.education=='硕士'}">硕士</option>
                                            <option value="博士" th:selected="${resume!=null&&resume.education=='博士'}">博士</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="col-md-6 col-lg-3">
                                    <div class="my_profile_select_box form-group">
                                        <label>工作时间</label><br>
                                        <select disabled="disabled" class="selectpicker" id="work_year" name="work_year">
                                            <option value="无" th:selected="${resume!=null&&resume.work_year=='无'}" selected="selected">无</option>
                                            <option value="1-3年" th:selected="${resume!=null&&resume.work_year=='1-3年'}" selected="selected">1-3年</option>
                                            <option value="3-5年" th:selected="${resume!=null&&resume.work_year=='3-5年'}" selected="selected">3-5年</option>
                                            <option value="5年以上" th:selected="${resume!=null&&resume.work_year=='5年以上'}" selected="selected">5年以上</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="col-md-6 col-lg-6">
                                    <div class="my_profile_input form-group">
                                        <label>电话</label>
                                        <input disabled="disabled" type="text" class="form-control" id="phone" name="phone" th:value="${resume}!=null?${resume.phone}:''">
                                    </div>
                                </div>
                                <div class="col-md-6 col-lg-6">
                                    <div class="my_profile_input form-group">
                                        <label>身份证</label>
                                        <input disabled="disabled" type="text" class="form-control" id="id_card" name="id_card" th:value="${resume}!=null?${resume.id_card}:''"
                                               >
                                    </div>
                                </div>
                                <div class="col-md-6 col-lg-6">
                                    <div class="my_profile_input form-group">
                                        <label>邮箱</label>
                                        <input disabled="disabled" type="text" class="form-control" id="email" name="email" th:value="${resume}!=null?${resume.email}:''"
                                              >
                                    </div>
                                </div>
                                <div class="col-md-6 col-lg-6">
                                    <div class="my_profile_input form-group">
                                        <label>现居城市</label>
                                        <input disabled="disabled" type="text" class="form-control" id="city" name="city" th:value="${resume}!=null?${resume.city}:''">
                                    </div>
                                </div>
                                <div class="col-lg-12">
                                    <h4 class="fz18 mb20">自我评价</h4>
                                </div>
                                <div class="col-lg-12">
                                    <div class="my_resume_textarea mt20">
                                        <div class="form-group">
                                            <textarea disabled="disabled" class="form-control" id="introduction" name="introduction" th:text="${resume}!=null?${resume.introduction}:''"
                                                      rows="9">
									        </textarea>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-lg-12">
                                    <h4 class="fz18 mb20">投职意向</h4>
                                </div>
                                <div class="col-md-6 col-lg-6">
                                    <div class="my_profile_input form-group">
                                        <label>职位名称</label>
                                        <input disabled="disabled" type="text" class="form-control" id="position_applied" th:value="${resume}!=null?${resume.position_applied}:''"
                                               name="position_applied">
                                    </div>
                                </div>
                                <div class="col-md-6 col-lg-6">
                                    <div class="my_profile_input form-group">
                                        <label>期望城市</label>
                                        <input disabled="disabled" type="text" class="form-control" id="expect_city" name="expect_city" th:value="${resume}!=null?${resume.expect_city}:''">
                                    </div>
                                </div>
                                <div class="col-md-6 col-lg-6">
                                    <div class="my_profile_input form-group">
                                        <label>期望薪资</label>
                                        <input disabled="disabled" type="text" class="form-control" id="expect_salary" name="expect_salary" th:value="${resume}!=null?${resume.expect_salary}:''">
                                    </div>
                                </div>
                                <div class="col-lg-12">
                                    <h4 class="fz18 mb20">专业技能</h4>
                                </div>
                                <div class="col-md-6 col-lg-6">
                                    <div class="my_profile_input form-group">
                                        <input disabled="disabled" type="text" class="form-control" id="skill" name="skill" th:value="${resume}!=null?${resume.skill}:''"
                                              >
                                    </div>
                                </div>
                                <div class="col-lg-12">
                                    <h4 class="fz18 mb20">教育经历</h4>
                                </div>
                                <div class="col-md-6 col-lg-6">
                                    <div class="my_profile_input form-group">
                                        <label>毕业学校</label>
                                        <input disabled="disabled" type="text" class="form-control" id="school" name="school" th:value="${resume}!=null?${resume.school}:''"
                                             >
                                    </div>
                                </div>
                                <div class="col-md-6 col-lg-6">
                                    <div class="my_profile_input form-group">
                                        <label>学院</label>
                                        <input disabled="disabled" type="text" class="form-control" id="college" name="college" th:value="${resume}!=null?${resume.college}:''"
                                               >
                                    </div>
                                </div>
                                <div class="col-md-6 col-lg-6">
                                    <div class="my_profile_input form-group">
                                        <label>专业</label>
                                        <input disabled="disabled" type="text" class="form-control" id="major" name="major" th:value="${resume}!=null?${resume.major}:''"
                                               >
                                    </div>
                                </div>
                                <div class="col-md-6 col-lg-6">
                                    <div class="my_profile_input form-group">
                                        <label>专业描述</label>
                                        <input disabled="disabled" type="text" class="form-control" id="edu_statement" name="edu_statement" th:value="${resume}!=null?${resume.edu_statement}:''"
                                              >
                                    </div>
                                </div>
                                <div class="col-md-6 col-lg-6">
                                    <div class="my_profile_input form-group">
                                        <label>开始时间</label>
                                        <input disabled="disabled" type="text" class="form-control datepicker" id="edu_start_time" th:value="${resume}!=null?${#dates.format(resume.edu_start_time, 'yyyy-MM-dd')}:''"
                                               name="edu_start_time">
                                    </div>
                                </div>
                                <div class="col-md-6 col-lg-6">
                                    <div class="my_profile_input form-group">
                                        <label>结束时间</label>
                                        <input disabled="disabled" type="text" class="form-control datepicker" id="edu_end_time" th:value="${resume}!=null?${#dates.format(resume.edu_end_time, 'yyyy-MM-dd')}:''"
                                               name="edu_end_time">
                                    </div>
                                </div>
                                <div class="col-lg-12">
                                    <h4 class="fz18 mb20">实习经历</h4>
                                </div>
                                <div class="col-md-6 col-lg-6">
                                    <div class="my_profile_input form-group">
                                        <label>实习公司</label>
                                        <input disabled="disabled" type="text" class="form-control" id="company" name="company" th:value="${resume}!=null?${resume.company}:''"
                                               >
                                    </div>
                                </div>
                                <div class="col-md-6 col-lg-6">
                                    <div class="my_profile_input form-group">
                                        <label>职责</label>
                                        <input disabled="disabled" type="text" class="form-control" id="practical_position" th:value="${resume}!=null?${resume.practical_position}:''"
                                               name="practical_position" >
                                    </div>
                                </div>
                                <div class="col-md-6 col-lg-6">
                                    <div class="my_profile_input form-group">
                                        <label>开始时间</label>
                                        <input disabled="disabled" type="text" class="form-control datepicker" id="practical_start_time" th:value="${resume}!=null?${#dates.format(resume.practical_start_time, 'yyyy-MM-dd')}:''"
                                               name="practical_start_time">
                                    </div>
                                </div>
                                <div class="col-md-6 col-lg-6">
                                    <div class="my_profile_input form-group">
                                        <label>结束时间</label>
                                        <input disabled="disabled" type="text" class="form-control datepicker" id="practical_end_time" th:value="${resume}!=null?${#dates.format(resume.practical_end_time, 'yyyy-MM-dd')}:''"
                                               name="practical_end_time">
                                    </div>
                                </div>
                                <div class="col-lg-12">
                                    <h4 class="fz18 mb20">项目经历</h4>
                                </div>
                                <div class="col-md-6 col-lg-6">
                                    <div class="my_profile_input form-group">
                                        <label>项目名称</label>
                                        <input disabled="disabled" type="text" class="form-control" id="project" name="project" th:value="${resume}!=null?${resume.project}:''"
                                               >
                                    </div>
                                </div>
                                <div class="col-md-6 col-lg-6">
                                    <div class="my_profile_input form-group">
                                        <label>项目职责</label>
                                        <input disabled="disabled" type="text" class="form-control" id="project_position" th:value="${resume}!=null?${resume.project_position}:''"
                                               name="project_position" >
                                    </div>
                                </div>
                                <div class="col-md-6 col-lg-6">
                                    <div class="my_profile_input form-group">
                                        <label>开始时间</label>
                                        <input disabled="disabled" type="text" class="form-control datepicker" id="project_start_time" th:value="${resume}!=null?${#dates.format(resume.project_start_time, 'yyyy-MM-dd')}:''"
                                               name="project_start_time">
                                    </div>
                                </div>
                                <div class="col-md-6 col-lg-6">
                                    <div class="my_profile_input form-group">
                                        <label>结束时间</label>
                                        <input disabled="disabled" type="text" class="form-control datepicker" id="project_end_time" th:value="${resume}!=null?${#dates.format(resume.project_end_time, 'yyyy-MM-dd')}:''"
                                               name="project_end_time">
                                    </div>
                                </div>
                                <div class="col-lg-12">
                                    <div class="my_resume_textarea mt20">
                                        <div class="form-group">
                                            <label>项目描述</label>
                                            <textarea disabled="disabled" class="form-control" id="project_statement"  th:text="${resume}!=null?${resume.project_statement}:''"
                                                      name="project_statement" rows="9">
									    </textarea>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-lg-12">
                                    <h4 class="fz18 mb20">附言</h4>
                                </div>
                                <div class="col-lg-12">
                                    <div class="my_resume_textarea mt20">
                                        <div class="form-group">
                                            <textarea disabled="disabled" class="form-control" id="postscript" name="postscript" rows="9" th:text="${resume}!=null?${resume.postscript}:''">
									    </textarea>
                                        </div>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
    <a class="scrollToHome text-thm" href="#"><i class="flaticon-rocket-launch"></i></a>
</div>
<!-- Wrapper End -->
<script type="text/javascript" src="/js/jquery-3.3.1.js"></script>
<script type="text/javascript" src="/js/jquery-migrate-3.0.0.min.js"></script>
<script type="text/javascript" src="/js/popper.min.js"></script>
<script type="text/javascript" src="/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/js/jquery.mmenu.all.js"></script>
<script type="text/javascript" src="/js/ace-responsive-menu.js"></script>
<script type="text/javascript" src="/js/bootstrap-select.min.js"></script>
<script type="text/javascript" src="/js/snackbar.min.js"></script>
<script type="text/javascript" src="/js/simplebar.js"></script>
<script type="text/javascript" src="/js/parallax.js"></script>
<script type="text/javascript" src="/js/scrollto.js"></script>
<script type="text/javascript" src="/js/jquery-scrolltofixed-min.js"></script>
<script type="text/javascript" src="/js/jquery.counterup.js"></script>
<script type="text/javascript" src="/js/wow.min.js"></script>
<script type="text/javascript" src="/js/progressbar.js"></script>
<script type="text/javascript" src="/js/slider.js"></script>
<script type="text/javascript" src="/js/timepicker.js"></script>
<!-- Custom script for all pages -->
<script type="text/javascript" src="/js/script.js"></script>
<!--验证码-->
<script type="text/javascript" src="/js/verify.js"></script>
<script type="text/javascript">
    $('.mpanel3').codeVerify({
        type: 2,
        figure: 100,	//位数，仅在type=2时生效
        arith: 0,	//算法，支持加减乘，不填为随机，仅在type=2时生效
        width: '200px',
        height: '50px',
        fontSize: '30px',
        btnId: 'check-btn2',
        ready: function () {
        },
        success: function () {
            // alert("验证码正确");
            $.post("/user/login", $("#login-form1").serialize(), function (data) {
                console.log(data);
                console.log($("#message").text());
                if (data == 'true') {
                    window.location.href = "/user/index";
                } else {
                    alert("登录失败，邮箱或密码错误");
                }
            })
        },
        error: function () {
            alert('验证码不正确！');
        }
    });
    $('.mpanel33').codeVerify({
        type: 2,
        figure: 100,	//位数，仅在type=2时生效
        arith: 0,	//算法，支持加减乘，不填为随机，仅在type=2时生效
        width: '200px',
        height: '50px',
        fontSize: '30px',
        btnId: 'check-btn22',
        ready: function () {
        },
        success: function () {
            alert('验证匹配！');
        },
        error: function () {
            alert('验证码不匹配！');
        }
    });
</script>
</body>
</html>